#include "epollServer.hpp"
#include <memory>

void Usage(string proc)
{
    cout << proc << " + port" << endl;
}
int main(int argc, char* argv[])
{
    if(argc != 2)
    {
        Usage(argv[0]);
        exit(0);
    }
    uint16_t port = stoi(argv[1]);
    
    unique_ptr<TcpServer> up = make_unique<TcpServer>(port);
    up->Loop();

    
    return 0;
}
